<?php

namespace Ladenise\EveStationTradingBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * MarketStatResponse
 */
class MarketStatResponse
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var integer
     */
    private $market_stat_request_invtype_id;

    /**
     * @var float
     */
    private $sell_volume;

    /**
     * @var float
     */
    private $sell_avg;

    /**
     * @var float
     */
    private $sell_max;

    /**
     * @var float
     */
    private $sell_min;

    /**
     * @var float
     */
    private $sell_stddev;

    /**
     * @var float
     */
    private $sell_median;

    /**
     * @var float
     */
    private $sell_percentile;

    /**
     * @var float
     */
    private $buy_volume;

    /**
     * @var float
     */
    private $buy_avg;

    /**
     * @var float
     */
    private $buy_max;

    /**
     * @var float
     */
    private $buy_min;

    /**
     * @var float
     */
    private $buy_stddev;

    /**
     * @var float
     */
    private $buy_median;

    /**
     * @var float
     */
    private $buy_percentile;

    /**
     * @var float
     */
    private $all_volume;

    /**
     * @var float
     */
    private $all_avg;

    /**
     * @var float
     */
    private $all_max;

    /**
     * @var float
     */
    private $all_min;

    /**
     * @var float
     */
    private $all_stddev;

    /**
     * @var float
     */
    private $all_median;

    /**
     * @var float
     */
    private $all_percentile;

    /**
     * @var \Ladenise\EveStationTradingBundle\Entity\MarketStatRequestInvtype
     */
    private $marketstatrequestinvtype;

    /**
     * @var float
     */
    private $gross_margin;

    /**
     * @var float
     */
    private $taxes_fees;

    /**
     * @var float
     */
    private $net_margin;

    /**
     * @var float
     */
    private $net_margin_percentage;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set market_stat_request_invtype_id
     *
     * @param integer $marketStatRequestInvtypeId
     * @return MarketStatResponse
     */
    public function setMarketStatRequestInvtypeId($marketStatRequestInvtypeId)
    {
        $this->market_stat_request_invtype_id = $marketStatRequestInvtypeId;
    
        return $this;
    }

    /**
     * Get market_stat_request_invtype_id
     *
     * @return integer 
     */
    public function getMarketStatRequestInvtypeId()
    {
        return $this->market_stat_request_invtype_id;
    }

    /**
     * Set sell_volume
     *
     * @param float $sellVolume
     * @return MarketStatResponse
     */
    public function setSellVolume($sellVolume)
    {
        $this->sell_volume = $sellVolume;
    
        return $this;
    }

    /**
     * Get sell_volume
     *
     * @return float 
     */
    public function getSellVolume()
    {
        return $this->sell_volume;
    }

    /**
     * Set sell_avg
     *
     * @param float $sellAvg
     * @return MarketStatResponse
     */
    public function setSellAvg($sellAvg)
    {
        $this->sell_avg = $sellAvg;
    
        return $this;
    }

    /**
     * Get sell_avg
     *
     * @return float 
     */
    public function getSellAvg()
    {
        return $this->sell_avg;
    }

    /**
     * Set sell_max
     *
     * @param float $sellMax
     * @return MarketStatResponse
     */
    public function setSellMax($sellMax)
    {
        $this->sell_max = $sellMax;
    
        return $this;
    }

    /**
     * Get sell_max
     *
     * @return float 
     */
    public function getSellMax()
    {
        return $this->sell_max;
    }

    /**
     * Set sell_min
     *
     * @param float $sellMin
     * @return MarketStatResponse
     */
    public function setSellMin($sellMin)
    {
        $this->sell_min = $sellMin;
    
        return $this;
    }

    /**
     * Get sell_min
     *
     * @return float 
     */
    public function getSellMin()
    {
        return $this->sell_min;
    }

    /**
     * Set sell_stddev
     *
     * @param float $sellStddev
     * @return MarketStatResponse
     */
    public function setSellStddev($sellStddev)
    {
        $this->sell_stddev = $sellStddev;
    
        return $this;
    }

    /**
     * Get sell_stddev
     *
     * @return float 
     */
    public function getSellStddev()
    {
        return $this->sell_stddev;
    }

    /**
     * Set sell_median
     *
     * @param float $sellMedian
     * @return MarketStatResponse
     */
    public function setSellMedian($sellMedian)
    {
        $this->sell_median = $sellMedian;
    
        return $this;
    }

    /**
     * Get sell_median
     *
     * @return float 
     */
    public function getSellMedian()
    {
        return $this->sell_median;
    }

    /**
     * Set sell_percentile
     *
     * @param float $sellPercentile
     * @return MarketStatResponse
     */
    public function setSellPercentile($sellPercentile)
    {
        $this->sell_percentile = $sellPercentile;
    
        return $this;
    }

    /**
     * Get sell_percentile
     *
     * @return float 
     */
    public function getSellPercentile()
    {
        return $this->sell_percentile;
    }

    /**
     * Set buy_volume
     *
     * @param float $buyVolume
     * @return MarketStatResponse
     */
    public function setBuyVolume($buyVolume)
    {
        $this->buy_volume = $buyVolume;
    
        return $this;
    }

    /**
     * Get buy_volume
     *
     * @return float 
     */
    public function getBuyVolume()
    {
        return $this->buy_volume;
    }

    /**
     * Set buy_avg
     *
     * @param float $buyAvg
     * @return MarketStatResponse
     */
    public function setBuyAvg($buyAvg)
    {
        $this->buy_avg = $buyAvg;
    
        return $this;
    }

    /**
     * Get buy_avg
     *
     * @return float 
     */
    public function getBuyAvg()
    {
        return $this->buy_avg;
    }

    /**
     * Set buy_max
     *
     * @param float $buyMax
     * @return MarketStatResponse
     */
    public function setBuyMax($buyMax)
    {
        $this->buy_max = $buyMax;
    
        return $this;
    }

    /**
     * Get buy_max
     *
     * @return float 
     */
    public function getBuyMax()
    {
        return $this->buy_max;
    }

    /**
     * Set buy_min
     *
     * @param float $buyMin
     * @return MarketStatResponse
     */
    public function setBuyMin($buyMin)
    {
        $this->buy_min = $buyMin;
    
        return $this;
    }

    /**
     * Get buy_min
     *
     * @return float 
     */
    public function getBuyMin()
    {
        return $this->buy_min;
    }

    /**
     * Set buy_stddev
     *
     * @param float $buyStddev
     * @return MarketStatResponse
     */
    public function setBuyStddev($buyStddev)
    {
        $this->buy_stddev = $buyStddev;
    
        return $this;
    }

    /**
     * Get buy_stddev
     *
     * @return float 
     */
    public function getBuyStddev()
    {
        return $this->buy_stddev;
    }

    /**
     * Set buy_median
     *
     * @param float $buyMedian
     * @return MarketStatResponse
     */
    public function setBuyMedian($buyMedian)
    {
        $this->buy_median = $buyMedian;
    
        return $this;
    }

    /**
     * Get buy_median
     *
     * @return float 
     */
    public function getBuyMedian()
    {
        return $this->buy_median;
    }

    /**
     * Set buy_percentile
     *
     * @param float $buyPercentile
     * @return MarketStatResponse
     */
    public function setBuyPercentile($buyPercentile)
    {
        $this->buy_percentile = $buyPercentile;
    
        return $this;
    }

    /**
     * Get buy_percentile
     *
     * @return float 
     */
    public function getBuyPercentile()
    {
        return $this->buy_percentile;
    }

    /**
     * Set all_volume
     *
     * @param float $allVolume
     * @return MarketStatResponse
     */
    public function setAllVolume($allVolume)
    {
        $this->all_volume = $allVolume;
    
        return $this;
    }

    /**
     * Get all_volume
     *
     * @return float 
     */
    public function getAllVolume()
    {
        return $this->all_volume;
    }

    /**
     * Set all_avg
     *
     * @param float $allAvg
     * @return MarketStatResponse
     */
    public function setAllAvg($allAvg)
    {
        $this->all_avg = $allAvg;
    
        return $this;
    }

    /**
     * Get all_avg
     *
     * @return float 
     */
    public function getAllAvg()
    {
        return $this->all_avg;
    }

    /**
     * Set all_max
     *
     * @param float $allMax
     * @return MarketStatResponse
     */
    public function setAllMax($allMax)
    {
        $this->all_max = $allMax;
    
        return $this;
    }

    /**
     * Get all_max
     *
     * @return float 
     */
    public function getAllMax()
    {
        return $this->all_max;
    }

    /**
     * Set all_min
     *
     * @param float $allMin
     * @return MarketStatResponse
     */
    public function setAllMin($allMin)
    {
        $this->all_min = $allMin;
    
        return $this;
    }

    /**
     * Get all_min
     *
     * @return float 
     */
    public function getAllMin()
    {
        return $this->all_min;
    }

    /**
     * Set all_stddev
     *
     * @param float $allStddev
     * @return MarketStatResponse
     */
    public function setAllStddev($allStddev)
    {
        $this->all_stddev = $allStddev;
    
        return $this;
    }

    /**
     * Get all_stddev
     *
     * @return float 
     */
    public function getAllStddev()
    {
        return $this->all_stddev;
    }

    /**
     * Set all_median
     *
     * @param float $allMedian
     * @return MarketStatResponse
     */
    public function setAllMedian($allMedian)
    {
        $this->all_median = $allMedian;
    
        return $this;
    }

    /**
     * Get all_median
     *
     * @return float 
     */
    public function getAllMedian()
    {
        return $this->all_median;
    }

    /**
     * Set all_percentile
     *
     * @param float $allPercentile
     * @return MarketStatResponse
     */
    public function setAllPercentile($allPercentile)
    {
        $this->all_percentile = $allPercentile;
    
        return $this;
    }

    /**
     * Get all_percentile
     *
     * @return float 
     */
    public function getAllPercentile()
    {
        return $this->all_percentile;
    }

    /**
     * Set marketstatrequestinvtype
     *
     * @param \Ladenise\EveStationTradingBundle\Entity\MarketStatRequestInvtype $marketstatrequestinvtype
     * @return MarketStatResponse
     */
    public function setMarketstatrequestinvtype(\Ladenise\EveStationTradingBundle\Entity\MarketStatRequestInvtype $marketstatrequestinvtype = null)
    {
        $this->marketstatrequestinvtype = $marketstatrequestinvtype;
    
        return $this;
    }

    /**
     * Get marketstatrequestinvtype
     *
     * @return \Ladenise\EveStationTradingBundle\Entity\MarketStatRequestInvtype 
     */
    public function getMarketstatrequestinvtype()
    {
        return $this->marketstatrequestinvtype;
    }

    /**
     * Set gross_margin
     *
     * @param float $grossMargin
     * @return MarketStatResponse
     */
    public function setGrossMargin($grossMargin)
    {
        $this->gross_margin = $grossMargin;
    
        return $this;
    }

    /**
     * Get gross_margin
     *
     * @return float 
     */
    public function getGrossMargin()
    {
        return $this->gross_margin;
    }

    /**
     * Set taxes_fees
     *
     * @param float $taxesFees
     * @return MarketStatResponse
     */
    public function setTaxesFees($taxesFees)
    {
        $this->taxes_fees = $taxesFees;
    
        return $this;
    }

    /**
     * Get taxes_fees
     *
     * @return float 
     */
    public function getTaxesFees()
    {
        return $this->taxes_fees;
    }

    /**
     * Set net_margin
     *
     * @param float $netMargin
     * @return MarketStatResponse
     */
    public function setNetMargin($netMargin)
    {
        $this->net_margin = $netMargin;
    
        return $this;
    }

    /**
     * Get net_margin
     *
     * @return float 
     */
    public function getNetMargin()
    {
        return $this->net_margin;
    }

    /**
     * Set net_margin_percentage
     *
     * @param float $netMarginPercentage
     * @return MarketStatResponse
     */
    public function setNetMarginPercentage($netMarginPercentage)
    {
        $this->net_margin_percentage = $netMarginPercentage;
    
        return $this;
    }

    /**
     * Get net_margin_percentage
     *
     * @return float 
     */
    public function getNetMarginPercentage()
    {
        return $this->net_margin_percentage;
    }
}